<script setup lang="ts">
import {defineProps,defineEmits} from 'vue'

interface Props{
  count:number|string,
  list:{username:string,age:number}[]
}

defineProps<Props>();

interface Emits{
  (e: 'get-data',payload:string):void
}

let emit = defineEmits<Emits>();
emit('get-data' , '123');
</script>

<template>
  <div>04_head.vue,{{count}} , {{list}}

  </div>
</template>

<style scoped>

</style>